import * as $echarts from "echarts"
import type { App } from "vue"
import VueEcharts from "vue-echarts"

// 注册一个全局的组件
const vueEcharts = (app: App) => {
  app.component("v-chart", VueEcharts)
}

export { $echarts, vueEcharts }
